package commandCase;

public class RemoteControlTest {
    public static void main(String[] args) {
        SimpleRemoteControl simpleRemoteControl = new SimpleRemoteControl();
        Light light = new Light();
        LigintOnCommand ligintOnCommand = new LigintOnCommand(light);
        simpleRemoteControl.setCommand(ligintOnCommand);
        simpleRemoteControl.buttonWasPreesed();
    }
}
